package com.eternal.permission.dao;

import com.eternal.permission.entity.RoleInfo;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 基础角色表 Mapper 接口
 * </p>
 *
 * @author Eternal
 * @since 2018-08-26
 */
@Mapper
public interface RoleInfoMapper extends BaseMapper<RoleInfo> {

    List<RoleInfo> selectRoleByUserId(String userId);
}
